import request from "@/utils/request";

export function changeKeyword(data) {
  return request({
    url: "member/keywords/change",
    method: "post",
    data,
  });
}
export function addKeyword(data) {
  return request({
    url: "member/keywords/add",
    method: "post",
    data,
  });
}
export function getKeywordsList(params) {
  return request({
    url: "member/keywords/getList",
    method: "get",
    params,
  });
}
export function delKeyword(id) {
  return request({
    url: "member/keywords/del",
    method: "post",
    data: { id },
  });
}
